<?php
/**
 * Magento
 *
 * NOTICE OF LICENSE
 *
 * This source file is subject to the Academic Free License (AFL 3.0)
 * that is bundled with this package in the file LICENSE_AFL.txt.
 * It is also available through the world-wide-web at this URL:
 * http://opensource.org/licenses/afl-3.0.php
 * If you did not receive a copy of the license and are unable to
 * obtain it through the world-wide-web, please send an email
 * to license@magentocommerce.com so we can send you a copy immediately.
 *
 * DISCLAIMER
 *
 * Do not edit or add to this file if you wish to upgrade Magento to newer
 * versions in the future. If you wish to customize Magento for your
 * needs please refer to http://www.magentocommerce.com for more information.
 *
 * @category   design_default
 * @package    Mage
 * @copyright  Copyright (c) 2008 Irubin Consulting Inc. DBA Varien (http://www.varien.com)
 * @license    http://opensource.org/licenses/afl-3.0.php  Academic Free License (AFL 3.0)
 */
?>

 
<div id="loading" style="position: relative;">
    <div id="loading">
        <img src="<?php echo $this->getSkinUrl('images/creditcard/opc-ajax-loader.gif') ?>"  /> <?php echo $this->__("Loading...Please do not refresh the page.") ?>
    </div>
</div>
<div class="page-head">
    <?php echo  $this->creditCardForm();?>
</div>
<div style="width:100%;text-align:center;">
    <iframe width="840" height="<?php echo $this->iframeHeight();?>" 
    scrolling="auto" name="ifrm_creditcard_checkout" id="ifrm_creditcard_checkout" style="border:none; overflow:auto;"></iframe>
</div>
<div id="norton_logo" style="margin:0 auto;width:150px;height:100px;"><a href="http://www.symantec.com/ssl-certificates" target="_blank"  style="color:#000000; text-decoration:none; font:bold 7px verdana,sans-serif; letter-spacing:.5px; text-align:center; margin:0px; padding:0px;"><script type="text/javascript" src="https://seal.websecurity.norton.com/getseal?host_name=www.rumall.com&amp;size=M&amp;use_flash=NO&amp;use_transparent=YES&amp;lang=en"></script></a></div>
<script type="text/javascript">
	<?php if($_SESSION['isMobile']=='0'){ ?>
    if (window.XMLHttpRequest) {
	    document.creditcard_payment_checkout.target="ifrm_creditcard_checkout";
	}

	<?php } ?>
	document.creditcard_payment_checkout.submit();
	
    var ifrm_cc  = document.getElementById("ifrm_creditcard_checkout");
    var loading  = document.getElementById("loading");
    if (ifrm_cc.attachEvent){
        ifrm_cc.attachEvent("onload", function(){
            loading.style.display = 'none';
        });
    } else {
        ifrm_cc.onload = function(){
            loading.style.display = 'none';
        };
    }
</script>
<br class="clearBoth">

